<template >
    <div class="bigconn" >
        <!-- 头部 -->
        <div class="favorites-head">
            <van-nav-bar title="足迹" left-text="" :right-text="DutDelete" left-arrow @click-left="onClickLeft"
                @click-right="onClickRight" />
        </div>
            
        <van-tabs v-model:active="activeName" background="#eae9e5" line-color='#000' title-active-color="#c1ab96">
            <van-checkbox-group v-model="checked">
                <div class="favorites-goods">
                    <van-tab title="全部" name="a">
                   
                   <div class="footprint" >
                        <div class="footprint-date" >
                           <span class="footprint-date-dot" ></span> 2019年7月9日
                        </div> 
                        <div class="footprint-img" >
                        <img src="#" alt="">
                        <img src="#" alt="">

                        <img src="#" alt="">
                        <img src="#" alt="">

                       

                        </div> 
                    </div> 
                   
                    </van-tab>
                    <van-tab title="降价中" name="b">
                       
                    </van-tab>
                    <van-tab title="低库存" name="c">
                       
                    </van-tab>
                    <van-tab title="已失效" name="d">
                     
                    </van-tab>
                </div>
            </van-checkbox-group>

        </van-tabs>

    </div>

</template>
<script setup lang="ts" >
import { ref } from 'vue'
const onClickLeft = () => history.back();
const onClickRight = () => {
    if(DutDelete.value=="删除"){
        DutDelete.value="编辑"
        ShowDelete.value=false

    }else{
        DutDelete.value="删除"
        ShowDelete.value=true

    }
}
let DutDelete=ref("编辑")
let ShowDelete=ref(false)
const activeName = ref('a');
const active = ref(0);
const checked = ref([]);

</script>
<style>
.favorites-head {
    width: 100%;
    background: #eae9e5;
    height: 10vw;
    position: fixed;
    top: 0;
    z-index: 10;

}
 .bigconn .van-tabs__wrap{
    width: 100%;
    height: 10vw;
    top: 10vw;
    position: fixed !important ;
    z-index: 10;
}

 .bigconn .van-nav-bar__title {
    font-weight: 800 !important;
}

 .bigconn .van-nav-bar__content {
    background: #eae9e5 !important;
    border: 0;
}

 .bigconn .van-icon {
    color: #c5a28f !important;
}

 .bigconn .van-nav-bar__text {
    color: #333333 !important;
    font-size: 1vw !important;
}

.favorites-goods {
    padding: 4vw;
    margin-top: 20vw;

}

 .bigconn .van-card {
    border-radius: 2vw;
    border: 1px solid #dedede;
    box-shadow:.5vw 1vw 2vw .8vw rgb(236, 230, 230);

    background: #fff;
    flex: 1;
    margin-left: 2vw;
}

.footprint-date{
    font-weight: 600;
    color:#333333;
    font-size: 5vw;
    margin-bottom: 2vw;
}
.footprint-img{
    display: flex;
    flex-wrap: wrap;
}
.footprint-img img{
    width: 29vw;
    height: 29vw;
    border-radius:3vw;
    margin:.5vw  .5vw ;
}
.footprint-date-dot{
    display: inline-block;
    width: 3vw;
    height: 3vw;
    margin-right: 2vw;
    border-radius: 50%;
    background: #c1ab96;
}
</style>